package com.szu.subject.ui.service;

import java.util.List;

import com.szu.subject.domains.Comment;
/**
 * 
 * @author Shenxiaolin
 *
 */
public interface CommentService {

	public List<Comment> getCommentsByCourseId(Long id);

	public Comment createComment(Comment comment);

	public Comment updateComment(Comment comment);

	public int deleteComment(Long id);

	public List<Comment> batchCreateComments(List<Comment> comments);

	public List<Comment> batchUpdateComments(List<Comment> comments);

	public int batchDeleteComments(List<Long> ids);

	public List<Comment> getAllComment();

	public Comment getCommentByPK(Long id);

}
